@layout("/common/_form.html",{js:["/assets/ums/chatHistory/chatHistory_edit.js"]}){

<form class="layui-form" id="chatHistoryForm" lay-filter="chatHistoryForm">
    <div class="layui-fluid" style="padding-bottom: 75px;">
        <div class="layui-card">
            <div class="layui-card-header">基本信息</div>
            <div class="layui-card-body">
                <div class="layui-form-item layui-row">
                    <input name="id" type="hidden"/>
                    <div class="layui-inline layui-col-md12">
                        <label class="layui-form-label">区域<span style="color: red;">*</span></label>
                        <div class="layui-input-block">
                            <input id="restHost" name="restHost" placeholder="请输入区域" type="text" class="layui-input" lay-verify="required" required/>
                        </div>
                    </div>
                    <div class="layui-inline layui-col-md12">
                        <label class="layui-form-label">common key<span style="color: red;">*</span></label>
                        <div class="layui-input-block">
                            <input id="appKey" name="appKey" placeholder="请输入common key" type="text" class="layui-input" lay-verify="required" required/>
                        </div>
                    </div>
                    <div class="layui-inline layui-col-md12">
                        <label class="layui-form-label">私聊A方<span style="color: red;">*</span></label>
                        <div class="layui-input-block">
                            <input id="userAId" name="userAId" placeholder="请输入私聊A方" type="text" class="layui-input" lay-verify="required" required/>
                        </div>
                    </div>
                    <div class="layui-inline layui-col-md12">
                        <label class="layui-form-label">私聊B方<span style="color: red;">*</span></label>
                        <div class="layui-input-block">
                            <input id="userBId" name="userBId" placeholder="请输入私聊B方" type="text" class="layui-input" lay-verify="required" required/>
                        </div>
                    </div>
                    <div class="layui-inline layui-col-md12">
                        <label class="layui-form-label">群聊ID<span style="color: red;">*</span></label>
                        <div class="layui-input-block">
                            <input id="groupId" name="groupId" placeholder="请输入群聊ID" type="text" class="layui-input" lay-verify="required" required/>
                        </div>
                    </div>
                    <div class="layui-inline layui-col-md12">
                        <label class="layui-form-label">岗位ID<span style="color: red;">*</span></label>
                        <div class="layui-input-block">
                            <input id="positionId" name="positionId" placeholder="请输入岗位ID" type="text" class="layui-input" lay-verify="required" required/>
                        </div>
                    </div>
                    <div class="layui-inline layui-col-md12">
                        <label class="layui-form-label">类型：text、audio、image、video<span style="color: red;">*</span></label>
                        <div class="layui-input-block">
                            <input id="type" name="type" placeholder="请输入类型：text、audio、image、video" type="text" class="layui-input" lay-verify="required" required/>
                        </div>
                    </div>
                    <div class="layui-inline layui-col-md12">
                        <label class="layui-form-label">消息ID<span style="color: red;">*</span></label>
                        <div class="layui-input-block">
                            <input id="messageId" name="messageId" placeholder="请输入消息ID" type="text" class="layui-input" lay-verify="required" required/>
                        </div>
                    </div>
                    <div class="layui-inline layui-col-md12">
                        <label class="layui-form-label">发送者ID<span style="color: red;">*</span></label>
                        <div class="layui-input-block">
                            <input id="senderId" name="senderId" placeholder="请输入发送者ID" type="text" class="layui-input" lay-verify="required" required/>
                        </div>
                    </div>
                    <div class="layui-inline layui-col-md12">
                        <label class="layui-form-label">发送时间<span style="color: red;">*</span></label>
                        <div class="layui-input-block">
                            <input id="sendTime" name="sendTime" placeholder="请输入发送时间" type="text" class="layui-input" lay-verify="required" required/>
                        </div>
                    </div>
                    <div class="layui-inline layui-col-md12">
                        <label class="layui-form-label">文本内容<span style="color: red;">*</span></label>
                        <div class="layui-input-block">
                            <input id="text" name="text" placeholder="请输入文本内容" type="text" class="layui-input" lay-verify="required" required/>
                        </div>
                    </div>
                    <div class="layui-inline layui-col-md12">
                        <label class="layui-form-label">名称，针对非文本<span style="color: red;">*</span></label>
                        <div class="layui-input-block">
                            <input id="name" name="name" placeholder="请输入名称，针对非文本" type="text" class="layui-input" lay-verify="required" required/>
                        </div>
                    </div>
                    <div class="layui-inline layui-col-md12">
                        <label class="layui-form-label">内容类型：audio/m4a,image/jpeg,video/mp4等<span style="color: red;">*</span></label>
                        <div class="layui-input-block">
                            <input id="contentType" name="contentType" placeholder="请输入内容类型：audio/m4a,image/jpeg,video/mp4等" type="text" class="layui-input" lay-verify="required" required/>
                        </div>
                    </div>
                    <div class="layui-inline layui-col-md12">
                        <label class="layui-form-label">url地址，图片或者视频地址<span style="color: red;">*</span></label>
                        <div class="layui-input-block">
                            <input id="url" name="url" placeholder="请输入url地址，图片或者视频地址" type="text" class="layui-input" lay-verify="required" required/>
                        </div>
                    </div>
                    <div class="layui-inline layui-col-md12">
                        <label class="layui-form-label">时长，视频、音频<span style="color: red;">*</span></label>
                        <div class="layui-input-block">
                            <input id="duration" name="duration" placeholder="请输入时长，视频、音频" type="text" class="layui-input" lay-verify="required" required/>
                        </div>
                    </div>
                    <div class="layui-inline layui-col-md12">
                        <label class="layui-form-label">宽度<span style="color: red;">*</span></label>
                        <div class="layui-input-block">
                            <input id="width" name="width" placeholder="请输入宽度" type="text" class="layui-input" lay-verify="required" required/>
                        </div>
                    </div>
                    <div class="layui-inline layui-col-md12">
                        <label class="layui-form-label">高度<span style="color: red;">*</span></label>
                        <div class="layui-input-block">
                            <input id="height" name="height" placeholder="请输入高度" type="text" class="layui-input" lay-verify="required" required/>
                        </div>
                    </div>
                    <div class="layui-inline layui-col-md12">
                        <label class="layui-form-label">大小<span style="color: red;">*</span></label>
                        <div class="layui-input-block">
                            <input id="size" name="size" placeholder="请输入大小" type="text" class="layui-input" lay-verify="required" required/>
                        </div>
                    </div>
                    <div class="layui-inline layui-col-md12">
                        <label class="layui-form-label">添加时间<span style="color: red;">*</span></label>
                        <div class="layui-input-block">
                            <input id="createTime" name="createTime" placeholder="请输入添加时间" type="text" class="layui-input" lay-verify="required" required/>
                        </div>
                    </div>
                    <div class="layui-inline layui-col-md12">
                        <label class="layui-form-label">修改时间<span style="color: red;">*</span></label>
                        <div class="layui-input-block">
                            <input id="updateTime" name="updateTime" placeholder="请输入修改时间" type="text" class="layui-input" lay-verify="required" required/>
                        </div>
                    </div>
                    <div class="layui-inline layui-col-md12">
                        <label class="layui-form-label">是否删除<span style="color: red;">*</span></label>
                        <div class="layui-input-block">
                            <input id="ifDel" name="ifDel" placeholder="请输入是否删除" type="text" class="layui-input" lay-verify="required" required/>
                        </div>
                    </div>
                    <div class="layui-inline layui-col-md12">
                        <label class="layui-form-label">删除时间<span style="color: red;">*</span></label>
                        <div class="layui-input-block">
                            <input id="deleteTime" name="deleteTime" placeholder="请输入删除时间" type="text" class="layui-input" lay-verify="required" required/>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
    <div class="form-group-bottom text-center">
        <button class="layui-btn" lay-filter="btnSubmit" lay-submit>&emsp;提交&emsp;</button>
        <button type="reset" class="layui-btn layui-btn-primary" ew-event="closeDialog">&emsp;取消&emsp;</button>
    </div>

</form>

@}